package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 设备指令下发表
 * </p>
 *
 * @author zly
 * @since 2022-03-24
 */
@Data
@ApiModel(value = "TDeviceCmdRequest对象", description = "设备指令下发表")
public class TDeviceCmdRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "指令")
    private String cmd;

    @ApiModelProperty(value = "设备sn")
    private String deviceNumber;

    @ApiModelProperty(value = "请求类型1.人脸创建2.人脸编辑，3.人脸删除，4.设备开门5.设备关门")
    private Integer requestType;

    @ApiModelProperty(value = "下发结果0-下发中 1-下发成功2-下发失败")
    private Integer requestResult;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "消息id")
    private String cmdId;

    @ApiModelProperty(value = "消息批次号")
    private String cmdBatchId;

    @ApiModelProperty(value = "创建人")
    private String createUser;


}
